package com.sis.main;

import com.sis.service.MergeFileService;

public class Run {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		
		try{
			
			if(System.getProperty("pInput") == null){
				throw new Exception("Input Path is null");
			}
			
			if(System.getProperty("pOutput") == null){
				throw new Exception("Output Path is null");
			}
			
			long currentStart = System.currentTimeMillis() ;
			System.out.println("Start Process ...");
			MergeFileService merge = new MergeFileService();
			merge.generateFile();
			System.out.println("End Process  "+( ( ( System.currentTimeMillis() - currentStart )/ (1000*60)) / 60 ) );
			
		}catch(Exception e){
			e.printStackTrace();
		}
		

	}

}
